<title>快捷登录对接</title>
<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>设置</cite></a>
        <a><cite>接口对接</cite></a>
    </div>
</div>
<div class="layui-col-xs12 layui-col-sm8 layui-col-md8 layui-col-md-offset2 layui-col-sm-offset2">
    <div class="layui-field-box">
        <div class="layui-card">
            <div class="layui-card-header">对接设置</div>
            <div class="layui-card-body">
                <form class="layui-form layui-form-pane" action="" lay-filter="dock">
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">QQ快捷登录Appid</label>
                        <div class="layui-input-block"><input type="number" name="qqappid" lay-verify="required"
                                lay-reqText="APPID不能为空！" lay-verType="tips" class="layui-input"></div>
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">QQ快捷登录Appkey</label>
                        <div class="layui-input-block"><input type="text" name="qqappkey" lay-verify="required"
                                lay-reqText="APPKEY不能为空！" lay-verType="tips" class="layui-input">
                        </div>
                    </div>
                    <div style="padding: 10px; margin-top: -10px;"><a href="https://connect.qq.com" target="_blank"
                            rel="noreferrer">申请地址</a>，回调地址填写：<span id="callbackurl"></span><br>申请流程可联系作者发送教程，申请需要已备案的域名
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">微信快捷登录Appid</label>
                        <div class="layui-input-block"><input type="number" name="wxappid" class="layui-input"></div>
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">微信快捷登录AppSecret</label>
                        <div class="layui-input-block"><input type="text" name="wxappkey" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">微信中转必须为会员才能使用</label>
                        <div class="layui-input-block">
                            <select name="wxvip">
                                <option value="off" selected="">关闭</option>
                                <option value="on">开启</option>
                            </select>
                        </div>
                    </div>
                    <div style="padding: 10px; margin-top: -10px;"><a href="https://open.weixin.qq.com/" target="_blank"
                            rel="noreferrer">申请地址</a>，回调地址填写：<span id="callbackurl"></span><br>注意：微信appid申请需要有公众号权限！！！
                    </div>
                    <div class="layui-form-item"><label class="layui-form-label">接口网址</label>
                        <div class="layui-input-block"><input type="text" name="appurl" lay-verify="url"
                                placeholder="http://login.fafads.cn/" class="layui-input" autocomplete="off"
                                value="http://login.fafads.cn/"></div>
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">快捷登录Appid</label>
                        <div class="layui-input-block"><input type="number" name="appid" class="layui-input"></div>
                    </div>
                    <div class="layui-form-item layui-form-text"><label class="layui-form-label">快捷登录Appkey</label>
                        <div class="layui-input-block"><input type="text" name="appkey" class="layui-input">
                        </div>
                    </div>
                    <div style="padding: 10px; margin-top: -10px;"><a href="http://login.fafads.cn" target="_blank"
                            rel="noreferrer">申请地址</a>，如QQ，微信全都未申请到权限，可到这来申请。<br>注意：如需使用自己的QQ、微信权限请把此功能的APPID和APPKEY留空否正默认全都跳转到该中转程序网址
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <div class="layui-col-xs8 layui-col-md6 layui-col-md-offset2"><button type="submit"
                                    class="layui-btn layui-btn-default layui-btn-fluid" lay-submit=""
                                    lay-filter="save_dock">修改</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use('set', layui.factory('set'));
</script>